
<html>
<head>
<meta charset="UTF-8">
<title>公共领域信息列表</title>
<link href="../../static/easyui/themes/bootstrap/easyui.css" rel="stylesheet" type="text/css"/>
<link href="../../static/easyui/themes/icon.css" rel="stylesheet" type="text/css"/>
<script src="../../static/easyui/jquery.min.js" type="text/javascript"></script>
<script src="../../static/easyui/jquery.easyui.min.js" type="text/javascript" charset="utf-8"></script>
<script src="../../static/easyui/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.util.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.jquery.ajax.js" type="text/javascript"></script>
<script src="../../static/plugin/assets/jslib.easyui.util.js" type="text/javascript"></script>
<script src="../../ffres/dict/all.js"></script>
<a href="" target="_blank" id="commonLink" name="commonLink"></a>
</head>
<script type="text/javascript">

	function doBrowse(){
		var row = $('#dg').datagrid('getSelected');
		if (row) {

			JLUtil.linkNewPage('TableProjectBrowser.html?' + 'projectId='
					+ row.projectId + '&projectName=' + row.projectName);
		} else {
			$.messager.alert('提示', '请选择领域！', 'info');
		}
	}

	function reloadList() {
		$('#dg').datagrid('reload');
		JLEUtil.closewin();
	};
</script>
</head>
<body class="easyui-layout">
<div data-options="region:'north',title:''" style="height: 40px; background: #F4F4F4;">
	<form id="searchForm">
		<table>
			<tr>
				<td>&nbsp;领域代码：</td>
				<td><input name="projectCode" id="projectCode"/></td>
				<td>&nbsp;领域名称：</td>
				<td><input name="projectName" id="projectName"/></td>				
				<td><a class="easyui-linkbutton" href="javascript:void(0);" onclick="JLEUtil.queryForm('searchForm','dg','../../api/project/tm/infos');">查找</a></td>
				<td><a class="easyui-linkbutton" href="javascript:void(0);" onclick="JLEUtil.clearForm('searchForm');">清空</a></td>
			</tr>
		</table>
	</form>
</div>
<div data-options="region:'center',split:false">
<table id="dg" class="easyui-datagrid" title="" style="width:100%;height:100%"
			data-options="singleSelect:true,collapsible:true,url:'../../api/project/tm/infos',method:'post'"
			toolbar="#tb"
		title="Load Data" 
		rownumbers="true" pagination="true" pageSize="20">
		<thead>
			<tr>
				<th data-options="field:'projectCode',resizable:true" width="13%">领域代码</th>
				<th data-options="field:'projectName',resizable:true" width="18%">领域名称</th>
				<th data-options="field:'projectVersion',resizable:true" width="8%" align="center">领域版本</th>
				<th data-options="field:'projectInnerId',resizable:true" hidden="true">领域内部标识</th>
				<th data-options="field:'projectDbms',resizable:true" width="15%" align="center" formatter="formatter_PUB_DBMS_ID">领域DBMS</th>
				<th data-options="field:'createUser',resizable:true" width="10%" align="center">创建者</th>
				<th data-options="field:'createTime',resizable:true" width="13%" align="center">创建时间</th>
				<th data-options="field:'projectDesc',resizable:true" width="20%">领域描述</th>
				<th data-options="field:'lastModifyUser',resizable:true" hidden="true">>最近修改用户</th>
				<th data-options="field:'lastModifyTime',resizable:true" hidden="true">>最近修改时间</th>
			</tr>
		</thead>
	</table>
</div>
<div id="tb" style="padding:1px">
	<div style="margin-bottom:2px">
		<a href="javascript:doBrowse()" class="easyui-linkbutton" iconCls="icon-ok" plain="true">领域浏览</a>
	</div>
</div>
</body>
</html>

